(asdf:defsystem #:gamao
  :description "A backgammon server"
  :author "Stanislav Kondratyev <kondratjevsk@gmail.com>"
  :license "CC0"
  :in-order-to ((test-op (test-op "gamao/test")))
  :serial t
  :components ((:file "package") 
               (:module "src"
                :serial t
                :components ((:file "pvector")
                             (:file "checker-position")
                             (:module "game"
                              :serial t
                              :components ((:file "checker-game")
                                           (:file "game-api")
                                           (:file "board")
                                           (:file "simple-checker-game")
                                           (:file "standard-game")
                                           (:file "backgammon-game")))))))

(asdf:defsystem #:gamao/test
  :depends-on (#:gamao #:fiveam)
  :perform (test-op (o s)
             (uiop:symbol-call '#:gamao/test '#:run-all))
  :license "CC0"
  :components ((:module "test"
                :serial t
                :components ((:file "package")
                             (:file "main")))))
